<div class="row">
<div class="large-12 columns">
	<div class="panel callout">
		<h6>View Fees (Other School)</h6>
	</div>
	<?if(isset($system_message))echo $system_message;?>
	<table class="data-table">
		<?if(!empty($misc_fee)):?>
			<thead class="tabular-head">
			<tr>
				<th>Fee Name</th>
				<th>Fee Rate</th>
				<th>Fee Description</th>
				<th>Grade Level</th>
				<th>Fee Status</th>
				<th>&nbsp;</th>
				<th>&nbsp;</th>
			</tr>
			</thead>
			<tbody class="tabular">
			<?foreach($misc_fee as $gld):?>
				<tr>
					<td><?=$gld->fee_name;?></td>
					<td style="text-align:right;">&#8369; <?=money($gld->fee_rate);?></td>
					<td style="min-width:100px;"><?=$gld->fee_desc;?></td>
					<td><?=$gld->level_desc;?></td>
					<td><label class="label label-inverse"><?=$gld->fee_stat;?></label></td>
					<td>
						<div class="btn-group">
						<a href="<?=site_url('update-fees').'/'.$gld->fee_id;?>" class="confirm btn btn-mini btn-success" title="Do you want to update fee?"><i class="icon-g-edit"></i></a>
						<a href="<?=site_url('delete-fees/miscellaneous/'.__link(intval($gld->fee_id)));?>" class="confirm btn btn-mini btn-danger" title="Are you sure you want to DELETE fee?"><i class="icon-g-circle-remove"></i></a>
						<?if($gld->fee_stat == 'inactive'):?>
							<? $hash = $this->authlink->hash_make($gld->fee_id);?>
							<a href="<?=site_url('enable-mfee/'.$gld->fee_id.'/'.$hash);?>" class="confirm btn btn-mini btn-primary" title="Are you sure you want to Enable fee for <?=$gld->level_desc;?>?">Enable</a>
						<?else:?>
							<? $hash = $this->authlink->hash_make($gld->fee_id);?>
							<a href="<?=site_url('disable-fee/'.$gld->fee_id.'/'.$hash);?>" class="confirm" title="Are you sure you want to Disable fee?"><button class="btn btn-mini"><i class="icon-check"></i></button></a>
						<?endif;?>
					</div>
					</td>
				</tr>
			<?endforeach;?>

			</tbody>
		<?else:?>
			<tr><td> No data avaialable</td></tr>
		<?endif;?>
	</table>
</div>
</div>